package com.ophiux.service.order.api.impl;


import com.ophiux.service.order.api.MemberService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MemberServiceImpl implements MemberService {
    @Value("${server.port}")
    public String port;

    @Override
    public String getUser(String userId) {
        System.out.println("userId = " + userId);
        return "何海龙-男-vip会员1   " + port;
    }

    @Override
    public String index() {
        return "何海龙-男-vip会员   " + port;
    }

    /**
     * main         psvm
     * syso         sout
     * alt+insert:      getter+setter
     * Ctrl+Alt+B:      从 interface 跳到 实现层
     * ctrl+alt+space:  代码提示   alt+/
     * Ctrl+Alt+T：      将选中的代码使用if，while，try/catch等包装
     */


}
